package com.lonely.purchase.domain.dto.remainingmaterialinventory;

import com.lonely.common.core.page.Query;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;

/**
 * @author: 黄志标
 * @date: 2025/6/25 15:43
 * @description: 录入库存请求实体
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class TypeInMaterialInventorySubmitDTO extends Query {

//    /**
//     * 订单物料id
//     */
//    @NotNull(message = "订单物料id不能为空")
//    private Long orderMaterialId;

    /**
     * 余料库存id
     */
    private Long remainingMaterialInventoryId;

    /**
     * 物料sku
     */
    private String materialSku;

    /**
     * 余料库存数
     */
    @NotNull(message = "余料库存数不能为空")
    private Integer typeInMaterialQuantity;

    /**
     * 库存位置
     */
    private String inventoryLocation;

    /**
     * 单位
     */
    private String unit;
}
